#include <iostream>
#include <algorithm>
using namespace std;

signed main()
{
    string s1,s2;
    cin>>s1;
    int d,t = 0;
    for(int i=s1.size()-1;i>=0;i--){
        d = s1[i]-'0';
        s2.append(1,(d*2%10+t)+'0');
        if(d*2+t>=10)    t = (d*2+t)/10;
        else    t = 0;
    }
    if(t>0)    s2.append(1,t+'0');
    reverse(s2.begin(),s2.end());
    int a[10] = {0},b[10] = {0},flag = 1;
    for(int i=0;i<s1.size();i++)    a[s1[i]-'0']++;
    for(int i=0;i<s2.size();i++)    b[s2[i]-'0']++;
    for(int i=0;i<10;i++)    if(a[i]!=b[i])    flag = 0;
    if(flag)    cout<<"Yes\n";
    else    cout<<"No\n";
    cout<<s2;
    return 0;
}
